<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>Title</title>
        <style>
            div{
                width: 150px;
                height: 150px;
                border: 1px solid red;
                /*内边距会影响元素的宽高*/
                padding-top:100px;
                padding-left: 100px;

            }
        </style>
    </head>
    <body>
        <div>内边距</div>
    </body>
</html>